/**
 * @name 页面跳转
 * @param {Object} url 跳转的地址
 */
export default {
	navigateTo(url) {
		uni.navigateTo({
			url: url,
			success: res => {},
			fail: () => {},
			complete: () => {}
		});
	},
	checkLogin(){
		const userInfo = uni.getStorageSync('USER_INFO')
		// var userinfodata = uni.getStorageSync('userinfodata')
		if(!userInfo)
		{
			return false
		}
		return true
	},
}